---------------------------------------------------------------- KNOB OCX Control Copyright 1995-1996 Northeast Data Corp. All Rights Reserved ---------------------------------------------------------------- Release 1.1 January 1996 This document describes the NED KNOB OLE Custom Control. CONTENTS 1. Product Description 2. Legal Information 3. Installation 4. Usage 5. Demonstration Application 6. Ordering Information 7. Support 8. Version release notes ---------------------------------------------------------------- 1. Product Description The KNOB OCX Control is a Microsoft Windows 32-bit OCX custom control that presents a knob control similar to those used on stereo equipment. This control is compatible with Windows '95. and Windows NT. Being a 32-bit OLE control, the programmer can add the NED Konb Control into any 32-bit OCX container application, such as Visual C++ 4.x, Visual Basic 4.0 (32-bit), Access 95 or Delphi 2.0. Use of the KNOB Control in a finished application requires the KNOB Control OCX (NKNOB32.OCX) to be installed with the application. There are properties available that allow the programmer to control the behavior and appearance of the Control. The KNOB can appear in four different orientations. Colors of various parts of the control can be adjusted, and there are 3D properties that let you specify such things as borders and bevels. The range of the KNOB can be set to any range with low and high values varying from 0 to 32767. ------------------------------------------------------------------- 2. Legal Information The purchaser of the KNOB Control is allowed to use it and distribute it in applications without paying any royalty, and without printing or displaying a copyright notice for the control. This only includes distribution of the KNOB Control OCX (NKNOB32.OCX). It does not include distribution of the KNOB.lic file, or the documentation that comes with the Control. The purchaser of the KNOB Control may distribute the control OCX with applications that are networked (multiple users accessing the OCX from a file server) without paying any license fees to Northeast Data Corp. ------------------------------------------------------------------- 3. Installation Create a temp directory on your hard disk and copy all files from the distribution disk to the directory. These files include: NKnob32.OCX (NED Knob OCX) KNOB.TLB (NED Knob Type Library) README.TXT (this file) REGISTER.EXE (Registration Program) DEMO.CPP (Demo Files) DEMO.H DEMO.MAK DEMO.RC DEMODLG.CPP DEMODLG.H KNOB.CPP KNOB.H RESOURCE.H STDAFX.CPP STDAFX.H RES\DEMO.ICO RES\DEMO.RC2 If you have downloaded the NKBVC11.ZIP file, use PKUNZIP to extract the files into the temp directory. The files listed below are required to use the OCX and demo in this archive. This files can be found in OCX4032.ZIP in the same area as NKBVC11.ZIP. This files in this archive should be placed in the same directory as the above OCX files. MFC40.DLL (Required for OCX) MSVCRT40.DLL (Required for OCX) OLEPRO32.DLL (Required for OCX) If you already have these files on your system, they are probably located in the System or System32 directory. If this is the case, you probably do not need to download these files again. To register the OCX and DLL files, place all of the above files in the same directory and run the REGISTER.EXE file. A 32-bit Microsoft Visual C++ 4.x example application is provided with the NED Knob OCX control. You must have the 32-bit version of Microsoft Visual C++ 4.x installed on your machine to run this demo. The example application allows you to play with the features of the NED Knob control interactively. The demo application is not crippled in any way. The dialog specifying that this is an unregistered version of the control does not appear in the release version. ------------------------------------------------------------------- 4. Usage PROPERTIES ---------- About... - Displays the about dialog box for the KNOB control. BackColor - Sets the background color. BorderColor - Color of the border. The border is the region between the outer and inner bevels. BorderWidth - Width of the border in pixels. FaceColor - Color of the area inside the knob. If you set this to white, pie-shaped areas will be drawn inside the knob to give a "shiny" effect. HiliteColor - Color of the upper left of inner and outer bevels when their styles are set to raised. Color of the lower right bevels when their styles are set to inset. InnerBevel - Solid (2), Inset (0), or Raised (1). InnerBevelWidth - The width of the inner bevel in pixels. Max - Maximum KNOB value. This must be greater than the minimum KNOB value. Min - Minimum KNOB value. This must be less than the maximum KNOB value. NeedleColor - Color of the needle. Orientation - Bottom(0), Left(1), Right(2), Top(3) OuterBevel - Solid (2), Inset (0), or Raised (1). OuterBevelWidth - The width of the outer bevel in pixels. Pos - Current KNOB position. This must be a value between or including the current minimum and maximum values of the KNOB. ShadowColor - The color of the left and top sides of the outer and inner bevels when the bevel styles are "Inset". The color of the bottom and right sides when the style is set to "Raised". EVENTS ------ ValueChanged The parameter is the new position of the knob. ----------------------------------------------------------------------- 5. Demonstration Application The VB demo app displays a knob that tracks to a scrollbar and shows various property settings. ----------------------------------------------------------------------- 6. Ordering Information The easiest way to obtain a registered version is to type GO SWREG on Compuserve. The ID for the 32-bit NED Knob OCX is 9667. The ID for the 16-bit NED Knob OCX is 9374. After you provide the information, Compuserve will send us a mail message. We will send you the software. Compuserve will bill you and then pay us. To obtain the software directly from us, send a money order or a check drawn on a U.S bank to the address above. Specify "NED Knob 32-bit OCX" or "NED Knob 16-bit OCX" and provide your full address. If you provide a Compuserve ID, we can send the software via e-mail. The price of the 32-bit NED Knob OCX control is $45.00US. The price of the 16-bit NED Knob OCX control is $45.00US. The price of the NED Knob OCX Source is $199.00US. Shipping and handling fees in the US are $15.00US. Shipping and handling fees outside the US are $20.00US. New York State residents must add 8% sales tax. ----------------------------------------------------------------------- 7. Support Technical support is available only for registered users. For technical support, call 716-247-5934 from 8:00 a.m to 5:00 p.m Monday through Friday. You may also send a FAX to this same number. Northeast Data Corp. 2117 Buffalo Rd., Suite 290 Rochester, NY 14624 Phone (716) 247-5934 (voice & fax) E-Mail Internet: ned1@frontiernet.net CompuServe: 71321,3304 Home Page: http://www.frontiernet.net/~ned1/index.htm ----------------------------------------------------------------------- 8. Version Release Notes Version 1.0 - December 1995 First release. Version 1.1 - January 1996 Fixed problem with demo dialog crashing when control was loaded.